Tristan Van Berkom [Sat, 7 Aug 2010 21:41:29 +0000 (17:41 -0400)]
Fixed expressions in gtk_button_size_allocate()
Children were getting negative allocations by misusage
of MAX() macro (bad signedness of expressions).
Javier Jardón [Sat, 7 Aug 2010 15:07:17 +0000 (17:07 +0200)]
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit
1a03a65e36b6288f7854da30bf89b86ad3592726
Reported by Benjamin Otte
John Stowers [Wed, 14 Jul 2010 08:48:54 +0000 (20:48 +1200)]
Add gdk_display_is_closed
https://bugzilla.gnome.org/show_bug.cgi?id=624224
Tristan Van Berkom [Sat, 7 Aug 2010 02:44:11 +0000 (22:44 -0400)]
Fixed alignment of wrapping labels allocated a greater width than needed
When wrapping labels to allocation width, never set the label wrap
width to a size greater than needed for the label's text (closes bug 625715)
Benjamin Otte [Fri, 6 Aug 2010 23:06:29 +0000 (01:06 +0200)]
label: Make angle part of GtkLabelPrivate
Tadej Borovšak [Fri, 6 Aug 2010 23:58:29 +0000 (01:58 +0200)]
Fix improperly unwinded loops
Tristan Van Berkom [Fri, 6 Aug 2010 22:57:41 +0000 (18:57 -0400)]
Fixed bad typo causing bad vertical requests on frames with no label.
Tadej Borovšak [Fri, 6 Aug 2010 20:07:42 +0000 (22:07 +0200)]
Implement fair extra space allocation
Tristan Van Berkom [Fri, 6 Aug 2010 19:58:12 +0000 (15:58 -0400)]
Make GtkFrame allocate its label considering natural size requests
Also like the GtkExpander, the label widget is allocated the minimum
height for its allocated width and the remaining space is given to
the child, test case included.
Daniel Nylander [Fri, 6 Aug 2010 12:11:43 +0000 (14:11 +0200)]
Updated Swedish translation
Daniel Nylander [Fri, 6 Aug 2010 12:10:27 +0000 (14:10 +0200)]
Updated Swedish translation
Tristan Van Berkom [Thu, 5 Aug 2010 16:48:13 +0000 (12:48 -0400)]
Implemented GtkSizeRequest on GtkExpander and added test
Now the expander requests and distributes space naturally,
the expander widget prioritizes the child widget vertically
and only allocates the minimum height for width to the label
widget.
Tristan Van Berkom [Thu, 5 Aug 2010 16:47:33 +0000 (12:47 -0400)]
Migrated old loops to use gtk_distribute_allocation().
Tristan Van Berkom [Thu, 5 Aug 2010 16:45:48 +0000 (12:45 -0400)]
Added gtk_distribute_allocation()
Added a convenience api for containers to use when allocating
children (used to distribute space evenly to children).
Fran Diéguez [Thu, 5 Aug 2010 14:16:43 +0000 (16:16 +0200)]
Updated Galician translations
Yaron Shahrabani [Thu, 5 Aug 2010 10:32:41 +0000 (13:32 +0300)]
Updated Hebrew translation.
Jorge González [Thu, 5 Aug 2010 09:46:38 +0000 (11:46 +0200)]
Updated Spanish translation
Tomeu Vizoso [Mon, 12 Jul 2010 15:02:06 +0000 (17:02 +0200)]
Stop assuming that priv->label_widget will be a GtkLabel.
https://bugzilla.gnome.org/show_bug.cgi?id=623603
Carlos Garcia Campos [Mon, 26 Jul 2010 13:24:15 +0000 (15:24 +0200)]
Add _gtk_box_get_children() internal function
https://bugzilla.gnome.org/show_bug.cgi?id=625300
Matthias Clasen [Thu, 5 Aug 2010 04:12:41 +0000 (00:12 -0400)]
Avoid warnings with tooltips on toplevels
This was reported for tooltips on statusicons in bug 625235, but
it was affecting regular toplevel windows as well.
Matthias Clasen [Thu, 5 Aug 2010 02:58:14 +0000 (22:58 -0400)]
Re-add a lost Since: line
Pointed out in bug 579583
Matthias Clasen [Thu, 5 Aug 2010 01:47:54 +0000 (21:47 -0400)]
Don't allocate space for "" in scale marks
Turns out GtkBuilder ends up creating marks with non-NULL
empty texts, so ignore those. Bug 614443, reported by Filippo Argiolas.
Philip Withnall [Fri, 30 Jul 2010 11:55:56 +0000 (13:55 +0200)]
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
Closes: bgo#625650
Philip Withnall [Fri, 30 Jul 2010 11:51:39 +0000 (13:51 +0200)]
Add (inout) annotation to gtk_tree_model_iter_next()
Closes: bgo#625650
Lucian Adrian Grijincu [Wed, 4 Aug 2010 23:02:03 +0000 (02:02 +0300)]
Updated Romanian translation
Paolo Borelli [Sat, 31 Jul 2010 12:01:41 +0000 (14:01 +0200)]
Annotate GtkTextBuffer insert methods
Pablo Castellano [Tue, 3 Aug 2010 17:52:18 +0000 (19:52 +0200)]
Update git.mk from pango
Cody Russell [Tue, 3 Aug 2010 15:45:14 +0000 (10:45 -0500)]
Change GtkCalendar's inner border and separator values from hard-coded
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
Javier Jardón [Tue, 3 Aug 2010 10:44:52 +0000 (12:44 +0200)]
Remove some unused variables
Fridrich Štrba [Tue, 3 Aug 2010 01:01:49 +0000 (03:01 +0200)]
Fix 32-bit Windows build using mingw-w64 toolchain
Fridrich Štrba [Tue, 3 Aug 2010 00:49:01 +0000 (02:49 +0200)]
Make the Windows manifest correspond to the name of the binary
Javier Jardón [Mon, 19 Jul 2010 14:29:01 +0000 (16:29 +0200)]
POTFILES.in: Add some missing files
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624737
Benjamin Otte [Sat, 31 Jul 2010 14:09:11 +0000 (16:09 +0200)]
progressbar: Remove act_mode_enter vfunc
It doesn't make sense to have a vfunc for this.
Benjamin Otte [Sat, 31 Jul 2010 13:57:08 +0000 (15:57 +0200)]
progressbar: Remove offscreen pixmap
Why did the progressbar keep an offscreen pixmap anyway? It didn't even
double buffer...
Benjamin Otte [Sat, 31 Jul 2010 13:32:33 +0000 (15:32 +0200)]
progressbar: Remove paint vfunc
Unconditionally call gtk_progress_bar_paint() instead. It was called in
various places instead of the vfunc already anyway.
Benjamin Otte [Sat, 31 Jul 2010 13:24:12 +0000 (15:24 +0200)]
progressbar: Remove unused update vfunc
Benjamin Otte [Sat, 31 Jul 2010 12:59:16 +0000 (14:59 +0200)]
docs: Add gdk_cursor_get_cursor_type() template
Benjamin Otte [Sat, 31 Jul 2010 12:57:11 +0000 (14:57 +0200)]
docs: Remove GtkNotebookPage from docs
Benjamin Otte [Sat, 31 Jul 2010 12:36:04 +0000 (14:36 +0200)]
paned: Remove unused GdkGC
John (J5) Palmieri [Thu, 29 Jul 2010 08:50:52 +0000 (04:50 -0400)]
add the transfer and element-type annotation to gdk_device_manager_list_devices
Tomeu Vizoso [Wed, 28 Jul 2010 14:53:14 +0000 (16:53 +0200)]
Annotate gdk_rectangle_intersect
Xandru Armesto [Wed, 28 Jul 2010 10:53:24 +0000 (12:53 +0200)]
Updated asturian translation
Xandru Armesto [Wed, 28 Jul 2010 10:47:57 +0000 (12:47 +0200)]
Updated asturian translation
Jorge González [Mon, 26 Jul 2010 18:59:11 +0000 (20:59 +0200)]
Updated Spanish translation
Benjamin Otte [Mon, 19 Jul 2010 10:24:17 +0000 (12:24 +0200)]
gdk: Flush implicit paints with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:28:40 +0000 (04:28 +0200)]
gdk: Do DEBUG_UPDATES drawing with Cairo
Benjamin Otte [Sat, 17 Jul 2010 01:15:33 +0000 (03:15 +0200)]
offscreenwindow: Copy old to new pixmap using Cairo
Benjamin Otte [Sat, 17 Jul 2010 00:52:59 +0000 (02:52 +0200)]
gdk: Create solid mask with Cairo
Benjamin Otte [Sun, 25 Jul 2010 16:13:19 +0000 (18:13 +0200)]
gdk: Always clear backing store with Cairo
The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...
Benjamin Otte [Fri, 16 Jul 2010 22:42:15 +0000 (00:42 +0200)]
gdkgc: Draw clip mask with Cairo
Benjamin Otte [Thu, 15 Jul 2010 15:49:08 +0000 (17:49 +0200)]
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
Benjamin Otte [Wed, 14 Jul 2010 21:14:33 +0000 (23:14 +0200)]
docs: Remove mention of gdk_draw_drawable()
That function is about to die.
Benjamin Otte [Tue, 13 Jul 2010 00:47:04 +0000 (02:47 +0200)]
gdk: Use the system colormap, not the rgb colormap
RGB colormaps are on their way out.
Benjamin Otte [Mon, 12 Jul 2010 21:09:53 +0000 (23:09 +0200)]
gdk: Get rid of GdkRGB usage
Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.
Benjamin Otte [Mon, 12 Jul 2010 11:27:41 +0000 (13:27 +0200)]
gdk: Get rid of gdk_draw_pixbuf() call
Use Cairo code instead.
Benjamin Otte [Sun, 25 Jul 2010 16:09:06 +0000 (18:09 +0200)]
style: Draw insertion cursor with Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:53:42 +0000 (14:53 +0200)]
Remove _gtk_widget_get_cursor_gc() function
It's unused now.
Benjamin Otte [Wed, 14 Jul 2010 23:08:03 +0000 (01:08 +0200)]
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
Benjamin Otte [Mon, 19 Jul 2010 10:15:58 +0000 (12:15 +0200)]
gtk-demo: Blit backing pixmap using Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:57 +0000 (00:18 +0200)]
gtk-demo: Convert color selection example to Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:35 +0000 (00:18 +0200)]
gtk-demo: Convert drawingarea example to Cairo
Benjamin Otte [Tue, 13 Jul 2010 13:57:18 +0000 (15:57 +0200)]
gtk-demo: Make pixbufs demo use Cairo
Benjamin Otte [Tue, 13 Jul 2010 15:14:14 +0000 (17:14 +0200)]
demos: No need to set the rgb colormap here
Benjamin Otte [Tue, 13 Jul 2010 15:17:19 +0000 (17:17 +0200)]
demos: Convert to drawing with Cairo instead of GdkRGB
Benjamin Otte [Mon, 12 Jul 2010 14:48:53 +0000 (16:48 +0200)]
demos: Use Cairo instead of gdk_draw_pixbuf()
Benjamin Otte [Thu, 22 Jul 2010 00:28:19 +0000 (02:28 +0200)]
testgtk: Remove unused variable
Benjamin Otte [Wed, 21 Jul 2010 23:51:59 +0000 (01:51 +0200)]
testgtk: Draw rotated text example with pangocairo
Benjamin Otte [Thu, 15 Jul 2010 17:05:46 +0000 (19:05 +0200)]
testgtk: Replace gdk_draw_rectangle() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:37:08 +0000 (18:37 +0200)]
test: Convert testinput to Cairo
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
Benjamin Otte [Thu, 15 Jul 2010 16:18:27 +0000 (18:18 +0200)]
tests: Make testoffscreen use Cairo
Benjamin Otte [Wed, 14 Jul 2010 21:10:31 +0000 (23:10 +0200)]
tests: replace gdk_draw_drawable() with Cairo calls in testinput
Benjamin Otte [Tue, 13 Jul 2010 00:38:21 +0000 (02:38 +0200)]
tests: Use gdk_screen_get_default_colormap()
We don't need the RGB colormap here.
Benjamin Otte [Tue, 13 Jul 2010 00:17:48 +0000 (02:17 +0200)]
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
Benjamin Otte [Mon, 12 Jul 2010 13:45:12 +0000 (15:45 +0200)]
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Thu, 15 Jul 2010 13:44:24 +0000 (15:44 +0200)]
pixbuf-engine: Draw mask with Cairo
No more gdk_pixbuf_render_threshold_alpha()
Benjamin Otte [Mon, 12 Jul 2010 13:44:32 +0000 (15:44 +0200)]
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:41:27 +0000 (15:41 +0200)]
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
This replaces the tiled fill call only.
Benjamin Otte [Sat, 17 Jul 2010 02:41:58 +0000 (04:41 +0200)]
imcontextxim: Draw with Cairo
Benjamin Otte [Wed, 21 Jul 2010 11:20:22 +0000 (13:20 +0200)]
decorations: Draw text with Cairo
Benjamin Otte [Thu, 15 Jul 2010 11:05:57 +0000 (13:05 +0200)]
decorate: Draw decorations using Cairo
Patch is untested, is there an example using this?
Benjamin Otte [Thu, 15 Jul 2010 03:40:05 +0000 (05:40 +0200)]
hsv: Remove unused variable
Benjamin Otte [Thu, 15 Jul 2010 03:18:33 +0000 (05:18 +0200)]
treeview: Draw the dnd pixmaps with Cairo
Benjamin Otte [Thu, 15 Jul 2010 03:04:46 +0000 (05:04 +0200)]
treeview: Draw lines with Cairo
Benjamin Otte [Thu, 15 Jul 2010 01:36:07 +0000 (03:36 +0200)]
treeview: Unify all line drawing into the same function
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
Benjamin Otte [Thu, 15 Jul 2010 01:02:59 +0000 (03:02 +0200)]
treeview: Draw column reordering arrows with Cairo
Benjamin Otte [Wed, 14 Jul 2010 20:43:08 +0000 (22:43 +0200)]
ruler: Replace gdk_draw_drawable calls with Cairo
and get rid of the custom GC
Benjamin Otte [Wed, 14 Jul 2010 19:56:15 +0000 (21:56 +0200)]
menu: replace gdk_draw_drawable() call with Cairo equivalent
Benjamin Otte [Wed, 14 Jul 2010 12:47:10 +0000 (14:47 +0200)]
filechooser: Remove commented out code
It wouldn't compile with current APIs anyway
Benjamin Otte [Wed, 14 Jul 2010 16:28:49 +0000 (18:28 +0200)]
progressbar: Use cairo instead of gdk_draw_drawable()
Benjamin Otte [Tue, 13 Jul 2010 00:22:40 +0000 (02:22 +0200)]
spinner: We want the default colormap, not the RGB colormap
GtkSpinner doesn't use GdkRGB
Benjamin Otte [Wed, 14 Jul 2010 17:46:58 +0000 (19:46 +0200)]
image: Use Cairo instead of gdk_draw_drawable()
Benjamin Otte [Mon, 12 Jul 2010 12:25:53 +0000 (14:25 +0200)]
image: replace gdk_draw_pixbuf() call with Cairo equivalent
Benjamin Otte [Wed, 21 Jul 2010 10:37:35 +0000 (12:37 +0200)]
textview: draw dnd icon with Pango
Benjamin Otte [Fri, 16 Jul 2010 21:56:20 +0000 (23:56 +0200)]
textview: Draw selection background with Cairo
Benjamin Otte [Thu, 15 Jul 2010 23:45:06 +0000 (01:45 +0200)]
textview: Draw drag icons using Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:50:36 +0000 (14:50 +0200)]
textview: Use _gtk_widget_get_cursor_color() and Cairo
Previously the code was using _gtk_widget_get_cursor_gc()
Benjamin Otte [Thu, 15 Jul 2010 12:04:19 +0000 (14:04 +0200)]
textview: Draw empty shape logo with Cairo
Benjamin Otte [Sun, 11 Jul 2010 23:40:30 +0000 (01:40 +0200)]
textview: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 23:10:08 +0000 (01:10 +0200)]
colorbutton: Render with Cairo
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
Benjamin Otte [Sun, 11 Jul 2010 22:00:07 +0000 (00:00 +0200)]
entry: replace gdk_draw_pixbuf() call with Cairo version